package cn.bx.consumer.service;

import org.example.pojo.Userrole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleService {

    @Autowired
    private UserFeignClient feignClient;

    public List<Userrole> findRoles() {
        return feignClient.findRoles();
    }
}
